<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/global.css">
    <link rel="stylesheet" href="css/github.css">
    <title>在线Markdown编辑器 - Adkun</title>
</head>
<body>
    <div>
        <strong class="tool" onclick="untils('b')">B</strong>
        <i class="tool" onclick="untils('i')">I</i>
        <del class="tool" onclick="untils('s')">S</del>
        <strong><i class="tool" onclick="untils('bi')">BI</i></strong>
        <span class="tool" onclick="untils('h1')">H1</span>
        <span class="tool" onclick="untils('h2')">H2</span>
        <span class="tool" onclick="untils('h3')">H3</span>
        <span class="tool" onclick="untils('--')">--</span>
        <span class="tool" onclick="untils('ol')">OL</span>
        <span class="tool" onclick="untils('ul')">UL</span>
    </div>
    <main>
        <textarea id="editor"></textarea>
        <div class="contain"><div class="parsed" id="parsed"></div></div>
    </main>

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <script src="js/markdown.js"></script>
</body>
</html>